<?php

namespace App\Repositories;

use App\Models\Sells;
use InfyOm\Generator\Common\BaseRepository;

/**
 * Class SellsRepository
 * @package App\Repositories
 * @version April 8, 2018, 11:16 am CST
 *
 * @method Sells findWithoutFail($id, $columns = ['*'])
 * @method Sells find($id, $columns = ['*'])
 * @method Sells first($columns = ['*'])
*/
class SellsRepository extends BaseRepository
{
    /**
     * @var array
     */
    protected $fieldSearchable = [
        'store_id',
        'store_name',
        'money',
        'type',
        'fee_type',
        'duration',
        'start_time',
        'end_time',
        'start_hour',
        'end_hour',
        'park_ids'
    ];

    /**
     * Configure the Model
     **/
    public function model()
    {
        return Sells::class;
    }
}
